-- GENERATED SPELL FOR [Argent Battle-priest] --


function spell0_30919(pUnit, Event) --@Blessing of Kings,n/a--
pUnit:FullCastSpellOnTarget(58054,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_30919', 614, 1)
end

function spell1_30919(pUnit, Event) --@Holy Light,Heal--
pUnit:FullCastSpellOnTarget(58053,pUnit)
pUnit:RegisterEvent('Sorts_30919', 2500, 1)
end

function Sorts_30919(pUnit, Event)
local choix_sorts_30919 = math.random(0, 1)
if choix_sorts_30919 == 0 then
pUnit:RegisterEvent('spell0_30919', 1, 1)
end
if choix_sorts_30919 == 1 then
pUnit:RegisterEvent('spell1_30919', 1, 1)
end
end

function mob30919_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_30919', math.random(1500, 3000), 1)
end

function mob30919_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30919_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob30919_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(30919, 1, 'mob30919_Action')
RegisterUnitEvent(30919, 2, 'mob30919_Leave')
RegisterUnitEvent(30919, 3, 'mob30919_Kill')
RegisterUnitEvent(30919, 4, 'mob30919_Die')
